/**
 * 处理用户相关的逻辑
 */
import resource from '@/api/resource'

export function queryByPaging(page, size, condition) {

    return resource.queryByPaging(page, size, condition)
}

export function deleteById(id) {

    return resource.deleteById(id)
}

export function saveOrUpdate(roleObject) {

    return resource.saveOrUpdate(roleObject)
}

export function updateById(id) {

    return resource.updateById(id)
}
